package com.zsj.zsjkotlinmvvm.data.repository

import com.zsj.zsjkotlinmvvm.data.model.repository.RepositoryData
import com.zsj.zsjkotlinmvvm.data.model.repository.VideoData
import com.zsj.zsjkotlinmvvm.data.model.repository.VideoResponseData
import com.zsj.zsjkotlinmvvm.data.remote.repository.RepositoryRemoteDataSource
import com.zsj.zsjkotlinmvvm.data.remote.repository.VideoRepositoryRemoteDataSource
import com.zsj.zsjkotlinmvvm.utils.Language
import java.time.LocalDateTime
import javax.inject.Inject

/**
 * Created by TanJiaJun on 2020-02-08.
 */
class VideoTitleRepository @Inject constructor(
    private val remoteDataSource: VideoRepositoryRemoteDataSource
) {

    suspend fun getVideoList(integer: Int, size: Int): VideoResponseData =
        remoteDataSource.getVideoList(
            integer = integer,
            size = size
        )

}